bin_PROGRAMS = \
	cve-check-tool \
	cve-check-update

noinst_LTLIBRARIES = \
	libcve.la

libcve_la_SOURCES = \
	src/library/common.h \
	src/library/cve-check-tool.h \
	src/library/cve-string.h \
	src/library/cve-string.c \
	src/library/hashmap.h \
	src/library/hashmap.c \
	src/library/cve-db-lock.h \
	src/library/cve-db-lock.c \
	src/library/fetch.c \
	src/library/fetch.h \
	src/library/template.c \
	src/library/template.h \
	src/library/util.c \
	src/library/util.h \
	src/plugins/packaging/faux/faux.h \
	src/core.h \
	src/core.c

libcve_la_CFLAGS = \
	$(CVE_CHECK_TOOL_CFLAGS) \
	$(AM_CFLAGS)

libcve_la_LIBADD = \
	$(CVE_CHECK_TOOL_LIBS) 

cve_check_tool_SOURCES = \
	src/main.c \
	src/update.h \
	src/update.c \
	src/plugin-manager.c \
	src/plugin-manager.h \
	src/plugin.h


cve_check_tool_CFLAGS = \
	$(CVE_CHECK_TOOL_CFLAGS) \
	$(AM_CFLAGS)


cve_check_tool_LDADD = \
	$(CVE_CHECK_TOOL_LIBS) \
	libcve.la \
	-ldl

cve_check_update_SOURCES = \
	src/update.c \
	src/update.h \
	src/update-main.c


cve_check_update_CFLAGS = \
	$(CVE_CHECK_TOOL_CFLAGS) \
	$(AM_CFLAGS)


cve_check_update_LDADD = \
	$(CVE_CHECK_TOOL_LIBS) \
	libcve.la \
	-ldl

include src/plugins/Makefile.am
